package com.juhuixing.common.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName BaseUserDTO
 * @Description TODO
 * @Author 刘猛
 * @Date 2019/4/30 9:44
 **/
@Data
public class BaseUserDTO {
    /**用户Id**/
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "用户id")
    private Long id;
    /**
     * 用户唯一标识
     */
    @ApiModelProperty(value = "用户头像")
    private String avatar;
    /**
     * 名称用户标识
     */
    @ApiModelProperty(value = "用户标识")
    private String username;
    /**
     * 名字
     */
    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    /**宠物昵称**/
    @ApiModelProperty(value = "宠物昵称")
    private String petNickname;

    /**
     * 生日
     */
    @ApiModelProperty(value = "生日")
    private String birthday;

    /**星座**/
    @ApiModelProperty(value = "星座")
    private String constellation;

    /**
     * 性别(0:女 1：男)
     */
    @ApiModelProperty(value = "用户性别 1 男，0 女")
    private Integer sex;

    /**
     * 电话号码
     */
    @ApiModelProperty(value = "电话号码")
    private String phone;

    /**
     * 多个微信程序在同一个平台下的唯一标识
     */
    @ApiModelProperty(value = "微信unionId")
    private String unionId;

    /**宠物形象图片**/
    @ApiModelProperty(value = "宠物形象图片")
    private String petImage;

    /**宠物背景图**/
    @ApiModelProperty(value = "宠物背景图片")
    private String backImage;

    /**语音介绍**/
    @ApiModelProperty(value = "用户语音介绍")
    private String voiceIntro;

    /**宠物配音**/
    @ApiModelProperty(value = "宠物配音")
    private String petVoice;

    /**宠物类型**/
    @ApiModelProperty(value = "宠物类型")
    private Integer petType;

    @ApiModelProperty(value = "魅力值")
    private Integer charm;

    /**用户来源**/
    @ApiModelProperty(value = "注册来源")
    private String source;
}
